This is the function GenericMain calls. View its source for some simple boilerplate you can copy/paste and modify, or you can call it yourself from your main.
Your request handler
a subclass of Cgi, if you wise to customize it further
max POST size you want to allow
command-line arguments
See Implementation
Documented Sept 26, 2020.
This is the function GenericMain calls. View its source for some simple boilerplate you can copy/paste and modify, or you can call it yourself from your main.